//
//  SkylowProfileCharaterCell.swift
//  SkylowAPP
//
//  Created by 青色石头 on 2024/9/22.
//

import UIKit

class SkylowProfileCharaterCell: UICollectionViewCell {

    private lazy var shape = {
        let s = CAShapeLayer()
        return s
    }()
    override func awakeFromNib() {
        super.awakeFromNib()
        
    }
    override func layoutSubviews() {
        super.layoutSubviews()
        if self.layer.mask == nil {
            shape.frame = bounds
            shape.path = UIBezierPath(roundedRect: bounds, cornerRadius: 12).cgPath
            self.layer.mask = shape
        }
    }

}
